load(key).

discretize(entropy).
use_package(hypspc).
minimal_cases(2).                      %  Número de ejemplos cubiertos por cada hoja como mínimo
accuracy(0.80).
random_test_set(0.1).

classes([pos,neg]).
predict(illegal(+board,-clss)).


rmode(1: wk(+Board,-Rank,-File)).
         rmode(1: wk(+Board, #,-File)).
		 rmode(1: wk(+Board, -Rank,#)).
rmode(1: wr(+Board,-Rank,-File)).
         rmode(1: wr(+Board,#,-File)).
		 rmode(1: wr(+Board,-Rank,#)).
rmode(1: bk(+Board,-Rank,-File)).
         rmode(1: bk(+Board,#,-File)).
         rmode(1: bk(+Board,-Rank,#)).
rmode(3: adj(+Rank,+File)).



typed_language(yes).
type(wk(board,rank,file)).
type(wr(board,rank,file)).
type(bk(board,rank,file)).
type(adj(rank,file)).


